package com.dingreading.cloud.subject.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 备课课次的视频
 */
@Data
@Table("subject_lesson_video")
public class SubjectLessonVideo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    @Column(onInsertValue = "now()")
    private Date addTime;

    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    private String addStaffUid;

    private String addStaffName;

    private String lastStaffUid;

    private String lastStaffName;

    private String uid;

    /**
     * 课次uid
     */
    private String lessonUid;

    /**
     * 文件地址
     */
    private String url;

    /**
     * 文件名称
     */
    private String name;

    private Integer enabled;

    /**
     * 视频类型(0.说课视频 1.教研视频）
     */
    private Integer videoType;

}
